if exist "Ginga Ojousama Densetsu Yuna EN [v1.0] SplitBin.bin" del "Ginga Ojousama Densetsu Yuna EN [v1.0] SplitBin.bin"
set binfullname=%~n1
copy /b "%binfullname% (Track 01).bin" + "%binfullname% (Track 02).bin" + "%binfullname% (Track 03).bin" + "%binfullname% (Track 04).bin" + "%binfullname% (Track 05).bin" + "%binfullname% (Track 06).bin" + "%binfullname% (Track 07).bin" + "%binfullname% (Track 08).bin" + "%binfullname% (Track 09).bin" + "%binfullname% (Track 10).bin" "Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] SplitBin.bin"

xdelta3 -d -s "Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] SplitBin.bin" "../redump_patch/Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] Redump.xdelta" "Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] SplitBin.bin_patched"

if exist "Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] SplitBin.bin" del "Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] SplitBin.bin"
move "Ginga Ojousama Densetsu Yuna EN [v1.0-rerelease] SplitBin.bin_patched" "Ginga Ojousama Densetsu Yuna EN [v1.0] SplitBin.bin"